The Ghost and Mrs.McClure by Alice Kimberly (2004)

Cozy mystery novel about a young widow who takes over her aunt's mystery bookstore and the ghost who inhabits it, who proceeds to help her solve the murder of a mystery writer who is killed at her first reading. Very charming, fun hard-boiled dialogue by the ghost detective, and lots of fun book chat. Followed by two sequels.