# PKGBUILD generated by pipman
# Python package author: Alexis Métaireau & contributors <alexis@notmyidea.org>
pkgname=python-ihatemoney
pkgver=4.1.3
pkgrel=1
pkgdesc="A simple shared budget manager web application."
arch=(any)
url="https://github.com/spiral-project/ihatemoney"
license=(Custom BSD Beerware)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="ihatemoney" ihatemoney==4.1.3
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/ihatemoney/* $pkgdir/"$sitepackages"
}