# Template file for 'motion'
pkgname=motion
version=4.0.1
revision=1
wrksrc="motion-release-${version}"
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="v4l-utils-devel zlib-devel ffmpeg-devel"
short_desc="A motion detector software"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="https://motion-project.github.io/"
distfiles="https://github.com/Motion-Project/motion/archive/release-${version}.tar.gz"
checksum=2f67669a09ce0481ecd987028dae1c5cb135dfdc3c254c06ab7c9ca0c6c183f0

pre_configure() {
	autoreconf -fi
}
