# Template file for 'homebank'
pkgname=homebank
version=5.8
revision=1
build_style=gnu-configure
hostmakedepends="intltool pkg-config"
makedepends="libofx-devel librsvg-devel gtk+3-devel libsoup3-devel"
depends="shared-mime-info hicolor-icon-theme desktop-file-utils"
short_desc="Free personal finance software"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.gethomebank.org/en/index.php"
changelog="https://www.gethomebank.org/ChangeLog"
distfiles="https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz"
checksum=b608dccf8ce79f0fbee650682435ad1caa5114435f334c41a728467fc9c0002c

post_patch() {
	vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
