diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+## 0.5.2
+
+* Add `Eq` instance for `Mail`
+
 ## 0.5.1
 
 * Add `Generic` instances for types used in `Mail`
diff --git a/Network/Mail/Mime.hs b/Network/Mail/Mime.hs
--- a/Network/Mail/Mime.hs
+++ b/Network/Mail/Mime.hs
@@ -111,7 +111,7 @@
     -- version last.
     , mailParts :: [Alternatives]
     }
-  deriving (Show, Generic)
+  deriving (Eq, Show, Generic)
 
 -- | A mail message with the provided 'from' address and no other
 -- fields filled in.
@@ -146,7 +146,7 @@
 data Part = Part
     { partType :: Text -- ^ content type
     , partEncoding :: Encoding
-    -- | The filename for this part, if it is to be sent with an attachemnt
+    -- | The filename for this part, if it is to be sent with an attachment
     -- disposition.
     , partDisposition :: Disposition
     , partHeaders :: Headers
diff --git a/mime-mail.cabal b/mime-mail.cabal
--- a/mime-mail.cabal
+++ b/mime-mail.cabal
@@ -1,6 +1,6 @@
-Cabal-version:       >=1.10
+Cabal-version:       2.0
 Name:                mime-mail
-Version:             0.5.1
+Version:             0.5.2
 Synopsis:            Compose MIME email messages.
 description:         Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/mime-mail>.
 Homepage:            http://github.com/snoyberg/mime-mail
@@ -11,20 +11,20 @@
 Category:            Email
 Build-type:          Simple
 extra-source-files:  README.md
-                     ChangeLog.md
+extra-doc-files:     ChangeLog.md
 
 
 Library
   default-language: Haskell2010
   Exposed-modules: Network.Mail.Mime
   Build-depends:   base                >= 4.9        && < 5
-                 , base64-bytestring   >= 0.1
-                 , process             >= 1.0
-                 , random              >= 1.0
-                 , blaze-builder       >= 0.2.1      && < 0.5
-                 , bytestring          >= 0.9.1
-                 , text                >= 0.7
-                 , filepath            >= 1.2
+                 , base64-bytestring   ^>= 1.2
+                 , process             ^>= 1.6
+                 , random              ^>= 1.3
+                 , blaze-builder       ^>= 0.4
+                 , bytestring          ^>= 0.12
+                 , text                ^>= 2.1
+                 , filepath            ^>= 1.5
 
 test-suite tests
     default-language: Haskell2010
@@ -34,7 +34,7 @@
     hs-source-dirs: test
 
     build-depends: base
-                 , hspec >= 1.3
+                 , hspec >= 2.11
                  , mime-mail
                  , blaze-builder
                  , bytestring
@@ -43,4 +43,4 @@
 
 source-repository head
   type:     git
-  location: git://github.com/snoyberg/mime-mail.git
+  location: https://github.com/snoyberg/mime-mail.git
