# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=smproxy
pkgver=1.0.6
pkgrel=0
pkgdesc="X11R6 Session Manager proxy"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libice-dev libsm-dev libxmu-dev libxt-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/smproxy-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4945c92c0f07c5dba5698889f415e78ce406939f4a36eb977309488c27385ce4ce04235c4e850a90a451fea8d7885ded7c6b18db71335c7731b38aaeefa9fcb7  smproxy-1.0.6.tar.bz2"