diff --git a/buchhaltung.cabal b/buchhaltung.cabal
--- a/buchhaltung.cabal
+++ b/buchhaltung.cabal
@@ -1,108 +1,102 @@
-name:           buchhaltung
-version:        0.0.1
-Bug-Reports:      http://github.com/johannesgerer/buchhaltung/issues
-License:          MIT
-License-file:     LICENSE
-Author:           Johannes Gerer
-Maintainer:       Johannes Gerer <oss@johannesgerer.com>
-Homepage:         http://johannesgerer.com/buchhaltung
-Stability:        Experimental
-category:       Finance
-synopsis:      Automates most of your plain text accounting data entry in ledger format.
+name: buchhaltung
+version: 0.0.2
+cabal-version: >=1.10
+build-type: Custom
+license: MIT
+license-file: LICENSE
+maintainer: Johannes Gerer <oss@johannesgerer.com>
+stability: Experimental
+homepage: http://johannesgerer.com/buchhaltung
+bug-reports: http://github.com/johannesgerer/buchhaltung/issues
+synopsis: Automates most of your plain text accounting data entry in ledger format.
 description:
-   ATTENTION Use `stack build` as this package requires a developement version of `hledger`!
-
-   Automatic import and deduplication (from CSV\/FinTS\/HBCI\/OFX), bayesian account matching, and efficient manual entry of <http://plaintextaccounting.org/ ledger> transactions.
-
-   .
-   See <https://github.com/johannesgerer/buchhaltung Readme> on Github.
-
-tested-with:    GHC == 7.10.1
-cabal-version:  >= 1.10
-build-type:     Custom
-
-Extra-source-files:
-                   README.md
-                   add.md
-                   add_multi_user.md
-                   match.md
-                   stack.yaml
-                   config.yml
-                   buchhaltung_autocomplete.bash
-                   buchhaltung_autocomplete.zsh
-
-Custom-setup
-  setup-depends:  base >= 4.0.0.0 && < 5, Cabal
+    ATTENTION Use 'stack build' as this package requires a developement version of 'hledger'!
+    Automatic import and deduplication (from CSV\/FinTS\/HBCI\/OFX), bayesian account matching, and efficient manual entry of <http://plaintextaccounting.org/ ledger> transactions.
+    .
+    See <https://github.com/johannesgerer/buchhaltung Readme> on Github.
+category: Finance
+author: Johannes Gerer
+tested-with: GHC ==7.10.1
+extra-source-files:
+    README.md
+    add.md
+    add_multi_user.md
+    match.md
+    stack.yaml
+    config.yml
+    buchhaltung_autocomplete.bash
+    buchhaltung_autocomplete.zsh
+    exchange_rates/btc_eur
 
+source-repository head
+    type: git
+    location: http://github.com/johannesgerer/buchhaltung
 
 executable buchhaltung
-  Hs-Source-Dirs:   src
-  main-is:          main.hs
-  other-modules: Buchhaltung.Add
-                 Buchhaltung.AQBanking
-                 Buchhaltung.Ask
-                 Buchhaltung.Common
-                 Buchhaltung.Import
-                 Buchhaltung.Importers
-                 Buchhaltung.Match
-                 Buchhaltung.Commandline
-                 Buchhaltung.OptionParsers
-                 Buchhaltung.Types
-                 Buchhaltung.Uniques
-                 Buchhaltung.Utils
-                 Buchhaltung.ZipEdit2
-                 Buchhaltung.Zipper
-  default-language: Haskell2010
-  ghc-options:     -threaded
-  build-depends:
-                      Decimal >= 0.4.2
-                , ListLike
-                , MissingH
-                , aeson >= 1.0.0
-                , ansi-wl-pprint
-                , array
-                , async
-                , base >= 4.0.0.0 && < 5
-                , boxes
-                , bytestring
-                , lens
-                , cassava >= 0.4.1.0
-                , containers
-                , data-default
-                , deepseq
-                , directory
-                , edit-distance
-                , file-embed
-                , filepath
-                , formatting
-                , hashable
-                , haskeline
-                , hint
-                , hledger >= 1.0.0
-                , hledger-lib >= 1.0.0
-                , lifted-base
-                , megaparsec >= 5.0.0
-                , monad-control 
-                , mtl
-                , optparse-applicative >= 0.13
-                , parsec
-                , process >= 1.1.0.2
-                , regex-compat
-                , regex-tdfa
-                , regex-tdfa-text
-                , safe
-                , semigroups
-                , split
-                , strict
-                , temporary
-                , text
-                , time
-                , transformers
-                , unordered-containers
-                , vector
-                , yaml
-
+    main-is: main.hs
+    build-depends:
+        Decimal >=0.4.2 && <0.5,
+        ListLike ==4.5.*,
+        MissingH >=1.4.0.1 && <1.5,
+        aeson >=1.0.0 && <1.1,
+        ansi-wl-pprint >=0.6.7.3 && <0.7,
+        array >=0.5.1.1 && <0.6,
+        async >=2.1.1 && <2.2,
+        base >=4.0.0.0 && <5,
+        boxes >=0.1.4 && <0.2,
+        bytestring >=0.10.8.1 && <0.11,
+        lens >=4.15.1 && <4.16,
+        cassava >=0.4.1.0 && <0.5,
+        containers >=0.5.7.1 && <0.6,
+        data-default >=0.7.1.1 && <0.8,
+        deepseq >=1.4.2.0 && <1.5,
+        directory >=1.2.6.2 && <1.3,
+        edit-distance >=0.2.2.1 && <0.3,
+        file-embed >=0.0.10 && <0.1,
+        filepath >=1.4.1.0 && <1.5,
+        formatting >=6.2.4 && <6.3,
+        hashable >=1.2.4.0 && <1.3,
+        haskeline >=0.7.2.3 && <0.8,
+        hint >=0.6.0 && <0.7,
+        hledger <1.1 && >=1.1,
+        hledger-lib <1.1 && >=1.1,
+        lifted-base >=0.2.3.8 && <0.3,
+        megaparsec >=5.0.0 && <5.2,
+        monad-control >=1.0.1.0 && <1.1,
+        mtl >=2.2.1 && <2.3,
+        optparse-applicative ==0.13.*,
+        parsec >=3.1.11 && <3.2,
+        process >=1.1.0.2 && <1.5,
+        regex-compat >=0.95.1 && <0.96,
+        regex-tdfa >=1.2.2 && <1.3,
+        regex-tdfa-text >=1.0.0.3 && <1.1,
+        safe >=0.3.10 && <0.4,
+        semigroups >=0.18.2 && <0.19,
+        split >=0.2.3.1 && <0.3,
+        strict >=0.3.2 && <0.4,
+        temporary >=1.2.0.4 && <1.3,
+        text >=1.2.2.1 && <1.3,
+        time >=1.6.0.1 && <1.7,
+        transformers >=0.5.2.0 && <0.6,
+        unordered-containers >=0.2.7.1 && <0.3,
+        vector >=0.11.0.0 && <0.12,
+        yaml >=0.8.21.1 && <0.9
+    default-language: Haskell2010
+    hs-source-dirs: src
+    other-modules:
+        Buchhaltung.Add
+        Buchhaltung.AQBanking
+        Buchhaltung.Ask
+        Buchhaltung.Common
+        Buchhaltung.Import
+        Buchhaltung.Importers
+        Buchhaltung.Match
+        Buchhaltung.Commandline
+        Buchhaltung.OptionParsers
+        Buchhaltung.Types
+        Buchhaltung.Uniques
+        Buchhaltung.Utils
+        Buchhaltung.ZipEdit2
+        Buchhaltung.Zipper
+    ghc-options: -threaded
 
-Source-repository head
-  Type:     git
-  Location: http://github.com/johannesgerer/buchhaltung
diff --git a/exchange_rates/btc_eur b/exchange_rates/btc_eur
new file mode 100644
--- /dev/null
+++ b/exchange_rates/btc_eur
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+d="`date "+%Y/%m/%d" `"
+t="`date "+%T" `"
+btc_usd="`curl -s https://www.bitstamp.net/api/ticker/ | sed -re 's/.*"bid": "([^"]*)".*/\1/'`"
+usd_eur="`curl -s http://query.yahooapis.com/v1/public/yql\?q\=select%20\*%20from%20yahoo.finance.xchange%20where%20pair%20in%20\(%22USDEUR%22\)\&format\=json\&env\=store%3A%2F%2Fdatatables.org%2Falltableswithkeys\&callback\= | sed -re 's/.*"Rate":"([^"]*)".*/\1/'`"
+# usd_eur="`curl -s http://rate-exchange.appspot.com/currency\?from\=USD\&to\=EUR | sed -re 's/.*"rate": *([0-9.]*),.*/\1/'`"
+r=$(echo "$btc_usd * $usd_eur" | bc)
+echo P $d $t BTC $r EUR
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -9,3 +9,4 @@
   extra-dep: true
 
 resolver: nightly-2016-12-17
+pvp-bounds: both
