# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>

pkgname=icecat-no-resource-uri-leak
pkgver=1.1.0
pkgrel=2
pkgdesc='Deny resource:// access to Web content. Fill the hole to defend against fingerprinting.'
url=https://notabug.org/desktopd/no-resource-uri-leak/
arch=('any')
license=('GPL3')
makedepends=('unzip')
depends=('icecat')
groups=('icecat-addons')
source=("https://addons.cdn.mozilla.net/user-media/addons/706000/no_resource_uri_leak-$pkgver-an+tb+sm+fx.xpi")
noextract=("${source##*/}")
sha512sums=('f31d8baaa880d5ce621775e7f52faf6dbffb279291110caf055f8f70444aaa49d40e388e5b0117a9b862484539782d8c8bcbdd61f341a94bc3413fd737d204ee')

package() {
  install -Dm755 "${source##*/}" "$pkgdir"/usr/lib/icecat/browser/extensions/@no-resource-uri-leak.xpi
}

# vim:set ts=2 sw=2 et:
