diff --git a/yesod-form.cabal b/yesod-form.cabal
--- a/yesod-form.cabal
+++ b/yesod-form.cabal
@@ -1,5 +1,5 @@
 name:            yesod-form
-version:         1.3.15
+version:         1.3.15.1
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -12,6 +12,10 @@
 homepage:        http://www.yesodweb.com/
 description:     Form handling support for Yesod Web Framework
 
+flag network-uri
+  description: Get Network.URI from the network-uri package
+  default: True
+
 library
     build-depends:   base                  >= 4        && < 5
                    , yesod-core            >= 1.2      && < 1.3
@@ -27,7 +31,6 @@
                    , data-default
                    , xss-sanitize          >= 0.3.0.1
                    , blaze-builder         >= 0.2.1.4
-                   , network               >= 2.2
                    , email-validate        >= 1.0
                    , bytestring            >= 0.9.1.4
                    , text                  >= 0.9
@@ -39,6 +42,11 @@
                    , byteable
                    , aeson
                    , resourcet
+
+    if flag(network-uri)
+      build-depends: network-uri >= 2.6
+    else
+      build-depends: network < 2.6
 
     exposed-modules: Yesod.Form
                      Yesod.Form.Types
