diff --git a/DAV.cabal b/DAV.cabal
--- a/DAV.cabal
+++ b/DAV.cabal
@@ -1,5 +1,5 @@
 name:                DAV
-version:             1.0.2
+version:             1.0.3
 synopsis:            RFC 4918 WebDAV support
 description:
    This is a library for the Web Distributed Authoring and Versioning
@@ -21,6 +21,10 @@
 cabal-version:       >=1.8
 extra-source-files:  AUTHORS
 
+flag network-uri
+  description: Get Network.URI from the network-uri package
+  default: True
+
 library
   exposed-modules:  Network.Protocol.HTTP.DAV
   other-modules:    Network.Protocol.HTTP.DAV.TH
@@ -60,13 +64,16 @@
                      , http-types >= 0.7
                      , lens >= 3.0
                      , mtl >= 2.1
-                     , network >= 2.3
                      , optparse-applicative >= 0.10.0
                      , transformers >= 0.3
                      , transformers-base
                      , utf8-string
                      , xml-conduit >= 1.0          && < 1.3
                      , xml-hamlet >= 0.4           && < 0.5
+  if flag(network-uri)
+    build-depends: network-uri >= 2.6, network >= 2.6
+  else
+    build-depends: network >= 2.3 && <2.6
 
 source-repository head
   type:     git
@@ -76,4 +83,4 @@
 source-repository this
   type:     git
   location: git://anonscm.debian.org/users/clint/DAV.git
-  tag:      DAV/1.0.2
+  tag:      DAV/1.0.3
