# Template file for 'rssguard'
pkgname=rssguard
version=3.5.1
revision=1
build_style=qmake
configure_args="CONFIG+=release LRELEASE_EXECUTABLE=lrelease-qt5"
makedepends="qt5-tools-devel"
depends="desktop-file-utils"
maintainer="cr6git <quark6@protonmail.com>"
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=c21a4e357dfd518ec658f8733136940c50d8eee10d54c355465af9c39fa9123a

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

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