From the very witty Canadian Style Guide (1997):
2.03 Nouns with adjectives and participles
a) Hyphenate noun-plus-adjective compounds (in that order), whether used attributively or predicatively:
b) Hyphenate noun-plus-participle compounds regardless of position:
a time-consuming activity
There are a number of them, including handmade and handwritten.