West Ham are close to signing Arsenal's Spanish forward Lucas Perez - who is set to be Manuel Pellegrini's ninth summer signing.