# Template file for 'rssguard'
pkgname=rssguard
version=3.5.6
revision=1
build_style=qmake
configure_args="CONFIG+=release LRELEASE_EXECUTABLE=lrelease-qt5 USE_WEBENGINE=false"
makedepends="qt5-tools-devel"
depends="desktop-file-utils"
maintainer="Orphaned <orphan@voidlinux.org>"
short_desc="Simple (yet powerful) Qt5 feed reader"
homepage="https://github.com/martinrotter/rssguard"
license="GPL-3"
distfiles="https://github.com/martinrotter/rssguard/archive/${version}.tar.gz"
checksum=8429b20e44fd394d6d053ed87b7e71ced9795f0d1b448621c475421f0e2daafa

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-tools-devel"
fi

post_install() {
	# Install rssguard icon manually
	vinstall resources/graphics/rssguard.png 644 usr/share/pixmaps
}
