JustPaste.it

# Maintainer: Joakim Nylén <me@jnylen.nu>
# Contributor: ahrs

pkgname=mailspring
_pkgver=1.5.2
pkgver=${_pkgver}
pkgrel=1
pkgdesc="A beautiful, fast and maintained fork of Nylas Mail by one of the original authors."
arch=('x86_64')
license=('custom: GPL3 and (C) 2016-2017 Foundry 376, LLC.')
url="https://getmailspring.com/"
options=('strip')

source=()
sha256sums=()
sha256sums_x86_64=('5bb7e13984e829ed1e195b72141771c3fbe72af16501fefd6b05aa66f0f27043')

source_x86_64=("https://github.com/Foundry376/Mailspring/releases/download/${_pkgver}/mailspring-${_pkgver}-amd64.deb")
depends=("libgnome-keyring" "gnome-keyring" "libxss" "libtool" "c-ares" "ctemplate" "tidy" "libxkbfile" "libsecret" "gconf" "gtk3" "nss")

package() {
cd ${srcdir}

tar -xvf data.tar.xz -C ${pkgdir} --exclude='./control'

chmod -R go-w "${pkgdir}"/usr
}