diff --git a/Changelog b/Changelog
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+Changed in version 0.7.1.2:
+   * Require ghc>=7.0.1.
+   * Allow building with terminfo-0.4.
+
 Changed in version 0.7.1.1:
    * Point to github for HEAD.
 
diff --git a/haskeline.cabal b/haskeline.cabal
--- a/haskeline.cabal
+++ b/haskeline.cabal
@@ -1,6 +1,6 @@
 Name:           haskeline
-Cabal-Version:  >=1.6
-Version:        0.7.1.1
+Cabal-Version:  >=1.16
+Version:        0.7.1.2
 Category:       User Interfaces
 License:        BSD3
 License-File:   LICENSE
@@ -50,16 +50,12 @@
     Default: False
 
 Library
-    if impl(ghc>=6.11) {
-        Build-depends: base >=4.1 && < 4.8, containers>=0.1 && < 0.6, directory>=1.0 && < 1.3,
-                       bytestring>=0.9 && < 0.11
-    }
-    else {
-        Build-depends: base>=3 && <4.1 , containers>=0.1 && < 0.3, directory==1.0.*,
-                       bytestring==0.9.*
-    }
-    Build-depends:  filepath >= 1.1 && < 1.4, transformers >= 0.2 && < 0.4
-    Extensions:     ForeignFunctionInterface, Rank2Types, FlexibleInstances,
+    Build-depends: base >=4.3 && < 4.8, containers>=0.4 && < 0.6,
+                   directory>=1.1 && < 1.3, bytestring>=0.9 && < 0.11,
+                   filepath >= 1.2 && < 1.4, transformers >= 0.2 && < 0.4
+    Default-Language: Haskell98
+    Default-Extensions: 
+                ForeignFunctionInterface, Rank2Types, FlexibleInstances,
                 TypeSynonymInstances
                 FlexibleContexts, ExistentialQuantification
                 ScopedTypeVariables, GeneralizedNewtypeDeriving
@@ -125,7 +121,7 @@
                 System.Console.Haskeline.Backend.Posix.Encoder
                 System.Console.Haskeline.Backend.DumbTerm
         if flag(terminfo) {
-            Build-depends: terminfo>=0.3.1.3 && <0.4
+            Build-depends: terminfo>=0.3.1.3 && <0.5
             Other-modules: System.Console.Haskeline.Backend.Terminfo
             cpp-options: -DTERMINFO
         }
