# Template file for 'vapoursynth-mvtools'
pkgname=vapoursynth-mvtools
version=23
revision=1
archs="x86_64* i686*"
build_style=meson
hostmakedepends="pkg-config libtool nasm"
makedepends="fftw-devel vapoursynth-devel"
short_desc="Set of filters for motion estimation and compensation"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="http://avisynth.org.ru/mvtools/mvtools2.html"
distfiles="https://github.com/dubhater/vapoursynth-mvtools/archive/v${version}.tar.gz"
checksum=3b5fdad2b52a2525764510a04af01eab3bc5e8fe6a02aba44b78955887a47d44

post_install() {
	vdoc readme.rst
	vsconf ${FILESDIR}/example.py
	vmkdir /usr/lib/vapoursynth
	mv ${DESTDIR}/usr/lib/{,vapoursynth/}libmvtools.so
}
