diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+2014-09-17 0.4.1
+================
+
+	* Update jwt.cabal to work with the new split network package.
+	  Thanks to Jeremy Shaw for reporting this.
+
 2014-08-02 0.4.0
 ================
 
diff --git a/jwt.cabal b/jwt.cabal
--- a/jwt.cabal
+++ b/jwt.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                jwt
-version:             0.4.0
+version:             0.4.1
 synopsis:            JSON Web Token (JWT) decoding and encoding
 license:             MIT
 license-file:        LICENSE
@@ -27,6 +27,9 @@
     type: git
     location: https://ssaasen@bitbucket.org/ssaasen/haskell-jwt.git
 
+flag network-uri
+    description: Get Network.URI from the network-uri package
+    default: True
 
 library
   exposed-modules:     Web.JWT
@@ -42,9 +45,15 @@
                      , scientific               >= 0.2
                      , data-default             >= 0.5
                      , http-types               >= 0.8
-                     , network                  >= 2.4
                      , time                     >= 1.1
 
+ if flag(network-uri)
+    build-depends:     network-uri          >= 2.6
+                     , network              >= 2.6
+ else
+    build-depends:     network-uri          >= 2.4 && < 2.6
+                     , network              >= 2.4 && < 2.6
+
   hs-source-dirs:      src
   default-language:    Haskell2010
   ghc-options:        -Wall
@@ -76,7 +85,12 @@
                      , unordered-containers
                      , data-default
                      , http-types
-                     , network
                      , time                     >= 1.1
 
+ if flag(network-uri)
+    build-depends:     network-uri          >= 2.6
+                     , network              >= 2.6
+ else
+    build-depends:     network-uri          >= 2.4 && < 2.6
+                     , network              >= 2.4 && < 2.6
   cpp-options: -DTEST
