diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
+## 0.5.1
+### Changed
+- Remove some unneeded dependencies from `stack.yaml`.
+- Change `secp256k1` dependency to `secp256k1-haskell`.
+
 ## 0.5.0
 ### Added
 - Support for Bitcoin Cash network block sychronization.
diff --git a/haskoin-core.cabal b/haskoin-core.cabal
--- a/haskoin-core.cabal
+++ b/haskoin-core.cabal
@@ -2,10 +2,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: f099018fce29c2b61c3cfaaf7eca0457f46978327c595aaff25b4ef6228be16f
+-- hash: 617743d445512f8ec85c88a487638486f14a00bc683305a52f924bd8e957dd33
 
 name:           haskoin-core
-version:        0.5.0
+version:        0.5.1
 synopsis:       Bitcoin & Bitcoin Cash library for Haskell
 description:    Haskoin Core is a complete Bitcoin and Bitcoin Cash library of functions and data types for Haskell developers.
 category:       Bitcoin, Finance, Network
@@ -33,38 +33,6 @@
   location: git://github.com/haskoin/haskoin.git
 
 library
-  hs-source-dirs:
-      src
-  build-depends:
-      HUnit
-    , QuickCheck
-    , aeson
-    , array
-    , base >=4.7 && <5
-    , base16-bytestring
-    , bytestring
-    , cereal
-    , conduit
-    , containers
-    , cryptonite
-    , deepseq
-    , entropy
-    , hashable
-    , hspec
-    , memory
-    , mtl
-    , murmur3
-    , network
-    , safe
-    , scientific
-    , secp256k1
-    , split
-    , string-conversions
-    , text
-    , time
-    , transformers
-    , unordered-containers
-    , vector
   exposed-modules:
       Haskoin
       Network.Haskoin.Address
@@ -107,6 +75,38 @@
       Network.Haskoin.Transaction.Builder
       Network.Haskoin.Transaction.Common
       Paths_haskoin_core
+  hs-source-dirs:
+      src
+  build-depends:
+      HUnit
+    , QuickCheck
+    , aeson
+    , array
+    , base >=4.7 && <5
+    , base16-bytestring
+    , bytestring
+    , cereal
+    , conduit
+    , containers
+    , cryptonite
+    , deepseq
+    , entropy
+    , hashable
+    , hspec
+    , memory
+    , mtl
+    , murmur3
+    , network
+    , safe
+    , scientific
+    , secp256k1-haskell
+    , split
+    , string-conversions
+    , text
+    , time
+    , transformers
+    , unordered-containers
+    , vector
   default-language: Haskell2010
 
 test-suite spec
@@ -153,7 +153,7 @@
     , network
     , safe
     , scientific
-    , secp256k1
+    , secp256k1-haskell
     , split
     , string-conversions
     , text
