# Contributor: 7heo <7heo@mail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=homebank
pkgver=5.9.1
pkgrel=0
pkgdesc="Free personal finance software, money management"
url="http://homebank.free.fr"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libsoup3-dev libofx-dev intltool"
options="!check" # no test suite
subpackages="$pkgname-lang"
source="https://www.gethomebank.org/public/sources/homebank-$pkgver.tar.gz"

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
53083044dc71c0e1b41d3adf23452b669c8cc5c0660f7452fc040aef52a5f7845e40ac82e8ff8eda9c79f5c3501f7de791d0757545918e2af91fc9dd9a0fcbeb  homebank-5.9.1.tar.gz
"
