# Template build file for 'xdm'.
pkgname=xdm
version=1.1.11
revision=8
build_style=gnu-configure
configure_args="--with-random-device=/dev/urandom
 --with-utmp-file=/var/run/utmp
 --with-wtmp-file=/var/log/wtmp
 --with-xdmconfigdir=/etc/X11/xdm
 --with-pam"
conf_files="/etc/pam.d/xdm"
hostmakedepends="pkg-config"
makedepends="pam-devel libXaw-devel"
depends="sessreg xconsole"
short_desc="X Display Manager"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
checksum=d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47

post_install() {
	vsv xdm
	vinstall ${FILESDIR}/xdm.pam 644 etc/pam.d xdm
	vlicense COPYING
}
