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 simpleUserHooks
+> main = defaultMainWithHooks autoconfUserHooks
diff --git a/include/pcapconfig.h b/include/pcapconfig.h
--- a/include/pcapconfig.h
+++ b/include/pcapconfig.h
@@ -38,13 +38,13 @@
 #define PACKAGE_NAME "Pcap"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "Pcap 0.3"
+#define PACKAGE_STRING "Pcap 0.3.2"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "pcap"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "0.3"
+#define PACKAGE_VERSION "0.3.2"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
diff --git a/pcap.cabal b/pcap.cabal
--- a/pcap.cabal
+++ b/pcap.cabal
@@ -1,5 +1,5 @@
 name:            pcap
-version:         0.4.4
+version:         0.4.5
 license:         BSD3
 license-file:    LICENSE
 synopsis:        A system-independent interface for user-level packet capture
@@ -7,12 +7,12 @@
 maintainer:      Bryan O'Sullivan <bos@serpentine.com>
 author:          Bryan O'Sullivan, Nick Burlett, Dominic Steinitz, Gregory Wright (original author)
 category:        Network
-cabal-version:   >= 1.2.1
+cabal-version:   >= 1.4
 extra-source-files:
                  configure.ac configure include/pcapconfig.h.in
                  pcap.buildinfo.in
 extra-tmp-files: config.log config.status
-build-type:      Simple
+build-type:      Configure
 
 flag bytestring-in-base
   description: bytestring was part of the base library in ghc-6.6
