cask :v1 => 'juliastudio' do
  version '0.4.4'

  if MacOS.release <= :snow_leopard
    sha256 '380006f00db5b19ab1a68b25b72dba669d7ff8f109c68d6ecf1fcc34dbfe485f'
    # amazonaws is the official download host per the vendor homepage
    url "https://s3.amazonaws.com/cdn-common.forio.com/julia-studio/#{version}/julia-studio-mac10.6-installer-#{version}.dmg"
  else
    sha256 'ce165f2ff8b1fd76ad3d1f4cb822dbf23c4d87390e6b4089b0ea17ab18bfd3ed'
    # amazonaws is the official download host per the vendor homepage
    url "https://s3.amazonaws.com/cdn-common.forio.com/julia-studio/#{version}/julia-studio-macx-installer-#{version}.dmg"
  end

  name 'Julia Studio'
  homepage 'http://forio.com/labs/julia-studio/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  app 'JuliaStudio.app'
end
