diff --git a/tkhs.cabal b/tkhs.cabal
--- a/tkhs.cabal
+++ b/tkhs.cabal
@@ -1,5 +1,5 @@
 name:                tkhs
-version:             0.1.0.3
+version:             0.1.0.4
 synopsis:            Simple Presentation Utility
 description:         If you want to give your presentation in a terminal,
                      or if PowerPoint would be overkill, you may find tkhs useful.
@@ -40,12 +40,14 @@
   hs-source-dirs:    src, test
   other-modules:
   main-is:           Test.hs
-  build-depends:     test-framework
-                   , test-framework-hunit
-                   , HUnit
   ghc-options:       -fglasgow-exts
   if !flag(test)
-    buildable:       False
+    buildable:         False
+  else
+    build-depends:     test-framework
+                     , test-framework-hunit
+                     , HUnit
+
 
 Source-repository head
   type:              darcs
