diff --git a/Shellac-readline.cabal b/Shellac-readline.cabal
--- a/Shellac-readline.cabal
+++ b/Shellac-readline.cabal
@@ -1,5 +1,7 @@
 Name:           Shellac-readline
-Version:        0.9
+Cabal-Version:  >= 1.2
+Build-Type:     Simple
+Version:        0.9.5.2
 License:        BSD3
 License-File:   LICENSE
 Author:         Robert Dockins
@@ -7,19 +9,20 @@
 Category:       User Interfaces
 Stability:      Beta
 Synopsis:       Readline backend module for Shellac
+Homepage:       http://rwd.rdockins.name/shellac/home/
 Description:
    This package provides a Shellac backend based on the GNU readline
    library.  This backend features all the line editing capabilities
    provided by readline, as well as command completion and command
    history features.
-Hs-Source-Dirs:
-   src
-Build-Depends:
-   base >= 1.0,
-   haskell98 >= 1.0,
-   readline >= 1.0,
-   Shellac >= 0.9
-Exposed-modules:
-   System.Console.Shell.Backend.Readline
-Extensions:
-   ForeignFunctionInterface
+
+Library 
+  Hs-Source-Dirs: src
+  Build-Depends:
+    base >= 1.0 && < 5,
+    readline >= 1.0,
+    Shellac >= 0.9
+  Exposed-modules:
+    System.Console.Shell.Backend.Readline
+  Extensions:
+    ForeignFunctionInterface
diff --git a/src/System/Console/Shell/Backend/Readline.hs b/src/System/Console/Shell/Backend/Readline.hs
--- a/src/System/Console/Shell/Backend/Readline.hs
+++ b/src/System/Console/Shell/Backend/Readline.hs
@@ -25,8 +25,8 @@
                             , BufferMode(..)
                             )
 import Foreign.Ptr          ( Ptr )
-import Foreign.C            ( CInt, CString, withCString )
-import Foreign.C.Error      ( Errno, eOK, errnoToIOError )
+import Foreign.C            ( CInt(..), CString, withCString )
+import Foreign.C.Error      ( Errno(..), eOK, errnoToIOError )
 import Foreign.Storable     ( peek )
 
 import qualified Control.Exception as Ex
