# Template file for 'autox'
pkgname=autox
version=0.1.1
revision=1
wrksrc=${pkgname}-${version}-${pkgname}
build_wrksrc=src
build_style=gnu-makefile
conf_files="/etc/pam.d/autox"
makedepends="pam-devel"
depends="pam"
short_desc="Automatically log in a specified user and run xinit"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="MIT"
homepage="https://github.com/jsumners/autox"
distfiles="https://github.com/jsumners/autox/archive/${version}-autox.tar.gz"
checksum=f8cdea3bd1a2ba1fdc7ad4a592c641cb478641869a5d7f7fbbaffc7e3d0bc5bd

do_install() {
	vlicense ../LICENSE
	vbin autox
	vinstall autox.pam 755 /etc/pam.d autox
	vsv autox
}
