# Template file for 'monit'
pkgname=monit
version=5.17.1
revision=1
build_style=gnu-configure
configure_args="--with-ssl-dir=${XBPS_CROSS_BASE}/usr libmonit_cv_setjmp_available=yes
 libmonit_cv_vsnprintf_c99_conformant=yes"
conf_files="/etc/monit/monitrc"
makedepends="pam-devel libressl-devel"
short_desc="Utility for monitoring, processes, files, directories and devices"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://mmonit.com/monit/"
distfiles="http://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz"
checksum=f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42

post_install() {
	vinstall monitrc 700 etc/monit
	vsv monit
}
