# Template file for 'ffsubsync'
pkgname=ffsubsync
version=0.5.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm"
depends="python3-chardet python3-charset-normalizer python3-faust_cchardet python3-ffmpeg-python
 python3-numpy python3-pysubs2 python3-rich python3-srt python3-tqdm python3-typing_extensions
 python3-auditok python3-webrtcvad"
checkdepends="$depends python3-pytest python3-pytest-black python3-pytest-flake8 python3-pytest-cov"
short_desc="Automagically synchronize subtitles with video"
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
license="MIT"
homepage="https://github.com/smacke/ffsubsync"
distfiles="https://github.com/smacke/ffsubsync/archive/refs/tags/${version}.tar.gz"
checksum=74a57fa83c40c5dc003736ae0dec1f53d7af8d27fa13c66d7f23abeb5cc80a04

post_install() {
	vlicense LICENSE
}
