Mavericks sign former 20-ppg scorer