# Template file for 'nagstamon'
pkgname=nagstamon
version=3.12.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-keyring python3-psutil"
depends="python3-BeautifulSoup4 python3-dbus python3-keyring python3-lxml
 python3-psutil python3-pyqt6-multimedia python3-pyqt6-svg python3-requests
 python3-dateutil"
checkdepends="python3-pytest pylint $depends"
short_desc="Nagios status monitor for the desktop"
maintainer="Laszlo Dvornik <laulicus@zoho.com>"
license="GPL-2.0-or-later"
homepage="https://nagstamon.de"
distfiles="https://github.com/HenriWahl/Nagstamon/archive/v${version}.tar.gz"
checksum=3b62713d110bf1b3286627eb61e3305e10320b9ddf1c951f5e717177aa0a3b81

post_install() {
	chmod 644 ${DESTDIR}/usr/share/pixmaps/nagstamon.svg
	mv -v ${DESTDIR}/usr/bin/nagstamon.py ${DESTDIR}/usr/bin/nagstamon
}
