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

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

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