version=4
opts=filenamemangle=s%.*/v?(\d\S*)\.tar\.gz%joplin-$1.tar.gz% \
  https://github.com/laurent22/joplin/tags .*/v?(\d\S*)\.tar\.gz
