Which greeting is correct for a letter?

 - Dear mr. hurst,
 - Dear Mr. Hurst,
The second greeting is correct:
Its first word is capitalized, and it ends with a comma. Mr. Hurst is capitalized because it is a proper noun.