Approximate solution to the Bethe-Salpeter equation