diff --git a/GeoIp.cabal b/GeoIp.cabal
--- a/GeoIp.cabal
+++ b/GeoIp.cabal
@@ -1,5 +1,5 @@
 Name:		GeoIp
-Version:	0.1
+Version:	0.2
 License:	OtherLicense
 License-File: Copying
 Author:		Stephen Cook
@@ -12,14 +12,13 @@
   GeoIp is a pure haskell binding to the MaxMind IP database.
   The IP database contains information such as the approximate
   longitude and latitude of an IP address.
-Cabal-Version: >= 1.2
+Cabal-Version: >= 1.2.1
 
-Library
+Library {
   Exposed-modules:
     Network.GeoIp.GeoCityIp
   Other-modules:
     Network.GeoIp.GeoDB
+  build-depends: base > 4.0, bytestring, bytestring-mmap, syb
   ghc-options: -Wall -fglasgow-exts
-  Build-Depends: base, bytestring, bytestring-mmap
-
-
+}
diff --git a/Setup.lhs b/Setup.lhs
--- a/Setup.lhs
+++ b/Setup.lhs
@@ -1,3 +1,3 @@
 #!/usr/bin/env runhaskell
 > import Distribution.Simple
-> main = defaultMainWithHooks defaultUserHooks
+> main = defaultMain
