# Template file for 'sddm'
pkgname=sddm
version=0.11.0
revision=1
build_style=cmake
configure_args="-DBUILD_MAN_PAGES=1"
hostmakedepends="cmake pkg-config python-docutils"
makedepends="qt5-declarative-devel qt5-tools-devel"
short_desc="QML based X11 display manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://github.com/sddm/sddm"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=80d53f075c275f744bd547523d6d640baccfacb4e463a71ec0facb8231b832ce

system_accounts="sddm"
sddm_homedir="/var/lib/sddm"
sddm_groups="video"

# Both install /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
conflicts="lightdm>=0"

post_install() {
	vsv sddm
}
