diff --git a/hxt.cabal b/hxt.cabal
--- a/hxt.cabal
+++ b/hxt.cabal
@@ -1,6 +1,6 @@
 -- arch-tag: Haskell XML Toolbox main description file
 Name:           hxt
-Version:        9.3.1.4
+Version:        9.3.1.5
 Synopsis:       A collection of tools for processing XML with Haskell.
 Description:    The Haskell XML Toolbox bases on the ideas of HaXml and HXML,
                 but introduces a more general approach for processing XML with Haskell.
@@ -12,10 +12,13 @@
                 The library makes extensive use of the arrow approach for processing XML.
                 Since version 9 the toolbox is partitioned into various (sub-)packages.
                 This package contains the core functionality,
-                hxt-curl, hxt-tagsoup, hxt-relaxng, hxt-xpath, hxt-xslt, hxt-regex-xmlschema contain the extensions.
+                hxt-curl, hxt-tagsoup, hxt-relaxng, hxt-xpath, hxt-xslt,
+                hxt-regex-xmlschema contain the extensions.
                 hxt-unicode contains encoding and decoding functions,
                 hxt-charproperties char properties for unicode and XML.
                 .
+                Changes from 9.3.1.4: dependency from networt changed to network-uri
+                .
                 Changes from 9.3.1.3: warnings from ghc-7.8.1 removed
                 .
                 Changes from 9.3.1.2: https as protocol added
@@ -26,7 +29,8 @@
                 .
                 Changes from 9.3.0.1: lower bound for network set to be >= 2.4
                 .
-                Changes from 9.3.0: upper bound for network set to be < 2.4 (URI signatures changed in 2.4)
+                Changes from 9.3.0: upper bound for network set to be < 2.4
+                (URI signatures changed in 2.4)
                 .
                 Changes from 9.2.2: XMLSchema validation integrated
                 .
@@ -91,6 +95,10 @@
  examples/xhtml/xhtml-symbol.ent
  examples/xhtml/xhtml.xml
 
+flag network-uri
+  description: Get Network.URI from the network-uri package
+  default: True
+
 library
  exposed-modules:
   Control.Arrow.ArrowExc,
@@ -190,13 +198,17 @@
                 parsec     >= 2.1 && < 4,
                 HUnit      >= 1.2 && < 2,
                 mtl        >= 2   && < 3,
-                network    >= 2.4 && < 3,
                 deepseq    >= 1.1 && < 2,
                 bytestring >= 0.9 && < 1,
                 binary     >= 0.5 && < 1,
                 hxt-charproperties  >= 9.1    && < 10,
                 hxt-unicode         >= 9.0.1  && < 10,
                 hxt-regex-xmlschema >= 9      && < 10
+
+ if flag(network-uri)
+   build-depends: network-uri >= 2.6
+ else
+   build-depends: network >= 2.4 && < 2.6
 
 Source-Repository head
   Type:     git
