cask :v1 => 'kdiff3' do
  # note: "3" is not a version number, but an intrinsic part of the product name (3-way diff)
  version '0.9.98'
  sha256 '3cbfb7f30989af2b28658a5f9f331c1a20275f16f42f3126119913b65cb06777'

  url "http://downloads.sourceforge.net/project/kdiff3/kdiff3/#{version}/kdiff3-#{version}-MacOSX-64Bit.dmg"
  name 'KDiff3'
  homepage 'http://kdiff3.sourceforge.net/'
  license :gpl

  app 'kdiff3.app'
  binary 'kdiff3.app/Contents/MacOS/kdiff3'

  zap :delete => '~/.kdiff3rc'
end
