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
diff --git a/X11-xft.cabal b/X11-xft.cabal
--- a/X11-xft.cabal
+++ b/X11-xft.cabal
@@ -1,5 +1,5 @@
 name:           X11-xft
-version:        0.2
+version:        0.3
 license:        LGPL
 license-file:   LICENSE
 author:         Clemens Fruhwirth
@@ -10,7 +10,7 @@
 exposed-modules:    Graphics.X11.Xft, Graphics.X11.Xrender
 extensions:         ForeignFunctionInterface
 build-depends:	    base, haskell98, X11>=1.2.1, utf8-string>=0.1
-include-dirs:       /usr/include/freetype2
-ghc-options:        -O2 -fasm -funbox-strict-fields
-extra-libraries:    "Xft"
+ghc-options:        -funbox-strict-fields
+pkgconfig-depends:  xft
 extra-source-files: Hello.hs
+build-type:         Simple
