# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxmu
pkgver=1.1.3
pkgrel=0
pkgdesc="X11 miscellaneous micro-utility library"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="X11 AND MIT"
depends=""
depends_dev="util-linux-dev"
makedepends="$depends_dev libsm-dev libx11-dev libxext-dev libxt-dev
	util-macros xmlto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
builddir="$srcdir"/libXmu-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--without-fop
	make
}

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

sha512sums="8c6cc65b22aa031ad870dd92736681a068a0878a425a53dbed909943da1136c4a24034d467cfd3785c3a8d78f66850b69f1ebe1eb24aaf9bc176b1d171a5c762  libXmu-1.1.3.tar.bz2"