Text this: Analytical treatment of the Yukawa screened Coulomb interaction in a plane-wave basis