cask :v1 => 'inkscape' do
  version '0.91-1'
  sha256 '66c9af880f87d5b64006391fc8dd2d3f546d93d6d91235eba7856deacba29862'

  # fastly.net is the official download host per the vendor homepage
  url "https://inkscape.global.ssl.fastly.net/media/resources/file/Inkscape-#{version}-x11-10.7-x86_64.dmg"
  homepage 'http://inkscape.org'
  license :gpl

  app 'Inkscape.app'
  # NOTE: running inkscape on the command line requires absolute paths to files
  binary 'Inkscape.app/Contents/Resources/bin/inkscape'

  zap :delete => '~/.inkscape-etc'

  depends_on :x11 => true
end
