# Template file for 'mbox'
pkgname=mbox
version=0.0.0.140526
revision=7
_commit=a131424b6cb577e1c916bd0e8ffb2084a5f73048
build_wrksrc=src
build_style=gnu-configure
hostmakedepends="automake"
makedepends="openssl-devel"
short_desc="A lightweight sandbox tool for non-root users"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://pdos.csail.mit.edu/archive/mbox/"
distfiles="https://github.com/tsgates/mbox/archive/$_commit.tar.gz"
checksum=f650704f0cc6a9ad97eeadaa02dd156faa176d234f660f6615cc9cd2d2806fdc
archs='x86_64'

pre_configure() {
	autoreconf -fi
}

pre_build() {
	make configsbox.h
}

post_install() {
	vlicense COPYRIGHT
}
