<commit_before>class Mosh < Formula
  desc "Remote terminal application"
  homepage "https://mosh.org"
  url "https://mosh.org/mosh-1.3.2.tar.gz"
  sha256 "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
  revision 6

  bottle do
    cellar :any_skip_relocation
    sha256 "ebae247d56b974509e45bc04c287d3d59e172b30282bc83999e2952bdfa3a7f2" => :mojave
    sha256 "892450c2dced041ea756b4eac28e9c82d353fe419226a9d5f0046ed56e00cbd7" => :high_sierra
    sha256 "635040b3eb071c077353d22495f61ee34013539be4272ea4e48a7a3a9ffb9f09" => :sierra
  end

  head do
    url "https://github.com/mobile-shell/mosh.git", :shallow => false

    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end

  depends_on "pkg-config" => :build
  depends_on "tmux" => :build
  depends_on "protobuf"
  unless OS.mac?
    depends_on "ncurses"
    depends_on "openssl"
  end

  # Fix mojave build.
  patch do
    url "https://github.com/mobile-shell/mosh/commit/e5f8a826ef9ff5da4cfce3bb8151f9526ec19db0.patch?full_index=1"
    sha256 "022bf82de1179b2ceb7dc6ae7b922961dfacd52fbccc30472c527cb7c87c96f0"
  end

  def install<commit_msg>mosh: update 1.3.2_6 bottle.<commit_after>class Mosh < Formula
  desc "Remote terminal application"
  homepage "https://mosh.org"
  url "https://mosh.org/mosh-1.3.2.tar.gz"
  sha256 "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
  revision 6

  bottle do
    cellar :any_skip_relocation
    sha256 "ebae247d56b974509e45bc04c287d3d59e172b30282bc83999e2952bdfa3a7f2" => :mojave
    sha256 "892450c2dced041ea756b4eac28e9c82d353fe419226a9d5f0046ed56e00cbd7" => :high_sierra
    sha256 "635040b3eb071c077353d22495f61ee34013539be4272ea4e48a7a3a9ffb9f09" => :sierra
    sha256 "b554bd7a8f81dbf0fd21befd8a85d696c9bc3e60a35f5fabc5efaabb1d84e429" => :x86_64_linux
  end

  head do
    url "https://github.com/mobile-shell/mosh.git", :shallow => false

    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end

  depends_on "pkg-config" => :build
  depends_on "tmux" => :build
  depends_on "protobuf"
  unless OS.mac?
    depends_on "ncurses"
    depends_on "openssl"
  end

  # Fix mojave build.
  patch do
    url "https://github.com/mobile-shell/mosh/commit/e5f8a826ef9ff5da4cfce3bb8151f9526ec19db0.patch?full_index=1"
    sha256 "022bf82de1179b2ceb7dc6ae7b922961dfacd52fbccc30472c527cb7c87c96f0"
  end

  def install
{'fraction_non_alphanumeric': 0.0899581589958159, 'fraction_numerical': 0.21799163179916317, 'mean_word_length': 4.9037037037037035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3254089', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1089, 'n_words': 143}