# Template file for 'libofx'
pkgname=libofx
version=0.10.9
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="opensp-devel libcurl-devel libxml++-devel"
short_desc="OFX banking protocol abstraction library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/libofx/libofx"
changelog="https://raw.githubusercontent.com/libofx/libofx/master/NEWS"
distfiles="https://github.com/libofx/libofx/archive/refs/tags/${version}.tar.gz"
checksum=ea9fa07759622ecc7f25b637fa8fb34d587af80607ca4389d25966a6a4f94ab9

libofx-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
