cask :v1 => 'weka' do
  version '3.6.12'
  sha256 'a0a8683342c6b367a29f4f2ca226db115e9a603b2ffc91c34525bb0f664d7b8c'

  # sourceforge.net is the official download host per the vendor homepage
  url "http://downloads.sourceforge.net/sourceforge/weka/weka-#{version.gsub('.','-')}-oracle-jvm.dmg"
  homepage 'http://www.cs.waikato.ac.nz/ml/weka/'
  license :gpl

  app "weka-#{version.gsub('.','-')}-oracle-jvm.app"
end
