cask :v1 => 'phantomjs' do
  version '1.9.8'
  sha256 '8f15043ae3031815dc5f884ea6ffa053d365491b1bc0dc3a0862d5ff1ac20a48'

  # bitbucket.org is the official download host per the vendor homepage
  url "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-#{version}-macosx.zip"
  homepage 'http://phantomjs.org/'
  license :bsd

  binary "phantomjs-#{version}-macosx/bin/phantomjs"
end
