added .cabal file
cabal builds works
fix version according to what's been already released
Merge pull request #1 from abailly/master

cabalized build, from abailly. Not locally tested -- can't today, but will shortly. Changes seem harmless enough, and other last words.